//
// Created by tonystark on 16/3/31.
// Copyright (c) 2016 sewm. All rights reserved.
//

#import <Foundation/Foundation.h>

@class JGProgressHUD;

#define kLoadingViewTag 963258

@interface UIView (Tips)

- (JGProgressHUD *)showLoading;

- (JGProgressHUD *)showLoadingView:(NSString *)title detailText:(NSString *)detail;

- (void)dismissLoadingView;

- (void)dismissLoadingView:(NSTimeInterval)delay;

- (JGProgressHUD *)showSuccessText:(NSString *)title detailText:(NSString *)detail;

- (JGProgressHUD *)showFaildText:(NSString *)title detailText:(NSString *)detail;

@end